package com.xf.lastmall.service.impl;


import com.xf.lastmall.moudle.dto.NewOrderRefundDto;
import com.xf.lastmall.repository.OrderRefundRepository;
import com.xf.lastmall.service.OrderRefundService;
import jakarta.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;


/**
 * Created by wangzhaoqian5 on 2018/6/8.
 */
@Service
public class OrderRefundServiceImpl implements OrderRefundService {
    @Resource
    private OrderRefundRepository orderRefundRepository;

    private static final Logger logger = LoggerFactory.getLogger(OrderRefundServiceImpl.class);

    @Override
    public NewOrderRefundDto findRefundDtoByOrderNo(String orderNo) {
        return orderRefundRepository.findRefundDtoByOrderNo(orderNo);
    }
}
